package day03.ChouXiang;
/*定义猫类(Cat)和狗类(Dog)

        ​	猫类成员方法：eat（猫吃鱼）drink（喝水…）

        ​	狗类成员方法：eat（狗吃肉）drink（喝水…）*/
public abstract class Animal {
    public void drink(){
        System.out.println("喝水！");
    }
    public Animal(){

    }
    public abstract void eat();
}
